<template>
  <div class="home">
    <el-container>
      <el-header>
        <s-header></s-header>
      </el-header>
      <div class="a-container">
        <el-container>
          <el-main>
            <router-view></router-view>
          </el-main>
          <!-- <el-footer>Footer</el-footer> -->
        </el-container>
      </div>
    </el-container>
  </div>
</template>

<script>
import { SHeader, SAside, SMain } from '@/components/container'
export default {
  name: 'HelloWorld',
  components: {
    SHeader,
    SAside,
    SMain
  },
  data() {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="less" scoped>
.home {
  width: 100%;
  height: 100%;
  background-color: #f2f2f2;
  .el-header {
    background-color: #ffffff;
  }
  .el-container {
    height: 100%;
  }
  .el-aside {
    padding: 20px;
  }
  .a-container {
    width: 100%;
    // height: 90%;
    margin: 0 auto;
    padding: 0px 120px;
    background-color: #f2f2f2;
  }
  .el-main{
    padding: 20px 10px;
  }
}
</style>
